<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Refresh" content="2" />
<title>Insert title here</title>
</head>
<body>
	<h3>用户列表</h3>
	<ul>
		<%
		String user = (String)session.getAttribute("user");

		List<String> users = (List) application.getAttribute("users");
		for (String u : users) {
			if(u.equals(user)){
				%>
				<li>我</li>
				<%
			}else{
		%>
		<li><%=u%></li>
		<%
		}}
		%>
	</ul>
</body>
</html>